<?php use_helper('SEstadisticas') ?>
<?php echo_title('Perfil de usuario') ?>

<div id="admin_container">

  <h1>Mi perfil</h1>

  <?php include_partial('flashes') ?>

  <div id="admin_content">
    <fieldset>
      <legend>Datos personales</legend>
        <table>
          <tr>
            <td class="admin_show_name">Nombres:</td>
            <td><?php echo $user->first_name ?></td>
          </tr>
          <tr>
            <td class="admin_show_name">Apellidos:</td>
            <td><?php echo $user->last_name ?></td>
          </tr>
          <tr>
            <td class="admin_show_name">Correo:</td>
            <td><?php echo $user->email_address ?></td>
          </tr>
        </table>
    </fieldset>
    <fieldset>
      <legend>Datos del sistema</legend>
        <table>
          <tr>
            <td class="admin_show_name">Login:</td>
            <td><?php echo $user->username ?></td>
          </tr>
        </table>
    </fieldset>
    <ul class="admin_actions">
      <li class="admin_action_default">
        <?php echo link_to('Cambiar contraseña', '@profile_change_password') ?>
      </li>
    </ul>
  </div>
</div>